# mq_filetest: mq_filetest.cpp
# 	g++ -std=c++11 $^ -o $@ 
# .PHONY:clean
# clean: 
# 	rm -rf mq_filetest

# mq_exchangetest: mq_exchangetest.cpp
# 	g++ -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3
# .PHONY:clean
# clean: 
# 	rm -rf mq_exchangetest

# mq_queuetest: mq_queuetest.cpp
# 	g++ -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3
# .PHONY:clean
# clean: 
# 	rm -rf mq_queuetest mq_exchangetest


# mq_bindingtest: mq_bindingtest.cpp
# 	g++ -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3
# .PHONY:clean
# clean: 
# 	rm -rf mq_queuetest mq_exchangetest mq_bindingtest

# mq_messagetest: mq_messagetest.cpp ../mqcommon/mq_msg.pb.cc
# 	g++ -g -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3
# .PHONY:clean
# clean: 
# 	rm -rf mq_queuetest mq_messagetest

# mq_hosttest: mq_hosttest.cpp ../mqcommon/mq_msg.pb.cc
# 	g++ -g -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3
# .PHONY:clean
# clean: 
# 	rm -rf mq_messagetest mq_hosttest


# mq_routetest: mq_routetest.cpp ../mqcommon/mq_msg.pb.cc
# 	g++ -g -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3
# .PHONY:clean
# clean: 
# 	rm -rf mq_routetest

# mq_consumertest: mq_consumertest.cpp ../mqcommon/mq_msg.pb.cc
# 	g++ -g -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3
# .PHONY:clean
# clean: 
# 	rm -rf mq_consumertest mq_routetest

# mq_channeltest: mq_channeltest.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
# 	g++ -g -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -I../mqthird/include
# .PHONY:clean
# clean: 
# 	rm -rf mq_consumertest mq_channeltest


# mq_connectiontest: mq_connectiontest.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
# 	g++ -g -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -I../mqthird/include
# .PHONY:clean
# clean: 
# 	rm -rf mq_connectiontest

mq_brokertest: mq_brokertest.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ -g -std=c++17 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -I../mqthird/include
.PHONY:clean
clean: 
	rm -rf mq_brokertest